<div class="testpaper-question testpaper-question-choice {% if not subSeq|default(null) %}question-step{% endif %}">

  <div class="testpaper-question-body">

    {% include 'QuestionPlusBundle:Question:stem.html.twig' %}

    <div class="testpaper-question-choices">

      {% if question.choices|default(null) %}
        {% set choices = question.choices %}
      {% endif %}
      {% if question.metas.choices|default(null) %}
        {% set choices = question.metas.choices %}
      {% endif %}

      {% if choices|default(null) %}
        {% for key, choice in choices %}
          {% set choiceIndex = (65+key)|chr %}
          <div><span class="testpaper-question-choice-index">{{ choiceIndex }}.</span> {{ choice|bbCode2Html|raw }}</div>
        {% endfor %}
      {% else %}
        选项读取失败
      {% endif %}
    </div>
  </div>

  <div class="testpaper-preview-answer clearfix mtl mbl">
    <div class="testpaper-question-result">
      【答案】 
      {% if question.answer|default(null) %}
        <strong class="text-success">
          {% for answer in question.answer %}
            {{ (65+answer)|chr }} 
          {% endfor %}
        </strong>
      {% else %}
        答案读取失败
      {% endif %}
    </div>
  </div>
  
  {% include 'QuestionPlusBundle:Question:analysis.html.twig' %}

</div>